<?php

namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class WorkOrderPic extends Model
{
	
    protected $table = 'work_order_pics';

    protected $fillable = [
        'user_id',
        'work_order_id',
        'processes_archives_id',
        'processes_archives_title',
        'dispatch_id',
        'user_name',
        'pics'
    ];

    public function processesArchives()
    {
        return $this->belongsTo(ProcessesArchive::class);
    }
}
